﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NewsListAll.ascx.cs" Inherits="smartphone.UserControls.NewsListAll" %>
<%@ Import Namespace="smartphone.App_Code" %>

<div class="list-all-news">
    <span class="headerTemplate">
        Tin tức
    </span>

    <div class = "news-items-list-page">
        <div class= "news-item-page">
            <asp:Repeater ID="RepeaterAllsNews" runat="server">
                <ItemTemplate>
                    <div class="item-news-page">
				        <a href="<%# LinkClass.ToNews(Eval("maTin").ToString()) %>">
                            <%# Eval("tieuDe").ToString() %>
				        </a>
                        <span>
                            <%# "[ " + Eval("ngayPost").ToString() + " ]" %>
                        </span>
                        <div class="news-short-content">
                            <%# Eval("noiDung") %>
                        </div>
			        </div>
                </ItemTemplate>
            </asp:Repeater>
			
		</div>
    </div>
</div>